package com.ndp.fb.mongo.api;

import com.ndp.fb.mongo.model.Image;

import java.util.List;

public interface AdImageMongoService {
	 void upsertAdImage(Image image);
	 Image findOne(String md5);
	 List<Image> findHashIsNull();
	 Image findOneByHash(String hash);
	 void updateAdImageUrlByHash(String hash,String url);
	 void updateAdImageUrlByMd5(String md5,String url);
}
